
#nanopb/makefile 


# This is a basic Makefile for setting the general configuration
include ../Makeheader.mk



OBJS = iot_message.pb.o  
all : $(OBJS) COPY_OBJ
#	$(CC) $^  -o  $@

%.o : %.c 
	$(CC)  $(CFLAGS)  -c  $<  -o  $@  


COPY_OBJ:
	cp  *.o ../$(OBJS_DIR)
	


.PHONY: clean

clean:
	@rm -f *.o *.a 
#	@for i in *.c;do rm -f `basename $$i .c`.s;done



